package com.nutricia.common.api.result;

import com.nutricia.common.api.info.SystemUserBaseInfo;
import com.nutricia.common.lang.BaseResponse;

import java.util.List;

/**
 * 用户和角色新增对象
 *
 * @author: huangsheng
 * @date: 2017/10/25
 */
public class GetUserAndRoleRes extends BaseResponse {

    /**
     *用户所拥有的ID集合
     */
    private List<String> roleIds;

    /**
     * 用户信息
     */
    private SystemUserBaseInfo userInfo;

    /**
     * Gets role ids.
     *
     * @return the role ids
     */
    public List<String> getRoleIds() {
        return roleIds;
    }

    /**
     * Sets role ids.
     *
     * @param roleIds the role ids
     */
    public void setRoleIds(List<String> roleIds) {
        this.roleIds = roleIds;
    }

    /**
     * Gets user info.
     *
     * @return the user info
     */
    public SystemUserBaseInfo getUserInfo() {
        return userInfo;
    }

    /**
     * Sets user info.
     *
     * @param userInfo the user info
     */
    public void setUserInfo(SystemUserBaseInfo userInfo) {
        this.userInfo = userInfo;
    }
}
